how to use batching to be more productive